package com.amigo.online.provider.sync.cloud.ribbon;

import org.springframework.context.annotation.Bean;

import com.netflix.loadbalancer.IPing;
import com.netflix.loadbalancer.IRule;

public class MyRibbonConfig {

    @Bean
    public IRule getRule() {
        return new MyRibbonRule();
    }

    @Bean
    public IPing getPing() {
        return new MyPing();
    }

}
